package com.kunlun.system.rpc;

import com.kunlun.common.model.ResponseMessage;
import com.kunlun.common.model.monitor.SystemDataModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "kunlun-gateway-service")
public interface FeignGatewayService {

    @RequestMapping(value = "/commonApi/monitorSystem", method = RequestMethod.GET)
    ResponseMessage<SystemDataModel> monitorSystem();
}
